package com.example.mapper;

import com.example.entity.Params;
import com.example.entity.Reserve;
import com.example.entity.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReserveMapper {
    List<Reserve> findBySearch(@Param("params") Params params);

    int deleteById(Integer id);

    int add(Reserve reserve);
}
